﻿namespace SuperMarieApi.App.Controllers.Framework.Entity
{
    using System;
    using System.Xml.Serialization;

    using SuperMarieApi.App.Controllers.Framework.Config.ConfigFile;

    [Serializable]
    [XmlRoot("ApplicationSettings")]
    [ConfigFile(@"Common\ApplicationSettings.xml")]
    public class ApplicationSettings
    {
        /// <summary>
        /// 程序名称
        /// </summary>
        [XmlElement("AppName")]
        public string AppName { get; set; }

        /// <summary>
        /// 程序地址
        /// </summary>
        [XmlElement("AppUrl")]
        public string AppUrl { get; set; }

        /// <summary>
        /// 程序Logo地址
        /// </summary>
        [XmlElement("AppLogoUrl")]
        public string AppLogoUrl { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        [XmlElement("CompanyName")]
        public string CompanyName { get; set; }

        /// <summary>
        /// 公司地址
        /// </summary>
        [XmlElement("CompanyAddress")]
        public string CompanyAddress { get; set; }
    }
}
